<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>内联框架</title>
    <style>
        body{
            /* 横向排布 */
            /* display: flex;
            justify-content: center;
            align-items: center; */

            /* display: grid;
            place-items: center; */
            height: 2000px;
        }
        .F1{
            
            position: absolute;
            left: 50%;
            top: 20%; 
            transform: translate(-100px,-100px);
            height: 200px;
            width: 200px;
            background-color: aqua;
        }
        .F2{
            
            position: absolute;
            left: 50%;
            top: 80%; 
            transform: translate(-100px,-100px);
            height: 200px;
            width: 200px;
            background-color: aqua;
        }
        .F3{
            
            position: absolute;
            left: 50%;
            top: 150%; 
            
            transform: translate(-300px,-200px);
            height: 300px;
            width: 600px;
            background-color: aqua;
        }
        .F4{
            
            position: absolute;
            left: 50%;
            top: 220%; 
            
            transform: translate(-300px,-200px);
            height: 300px;
            width: 600px;
            background-color: aqua;
            
        }


    </style>
</head>
<body>
    <p>task</p>
    <a href="./task1.html" target="F1">跳转1</a>
    <a href="./task2.html" target="F2">跳转2</a>
    <a href="./task3.html" target="F3">跳转3</a>
    <a href="./task4.html" target="F4" >跳转4</a>
    <iframe src="" frameborder ="0" name="F1" class="F1"></iframe>    
    <iframe src="" frameborder="0" name="F2" class="F2"></iframe>
    <iframe src="" frameborder="0" name="F3" class="F3"></iframe>
    <iframe src="" frameborder="0" name="F4" class="F4"></iframe>
    
</body>
</html>